KtorReadStandardKeyValueRepo

class KtorReadStandardKeyValueRepo<Key, Value>(baseUrl: String, unifiedRequester: UnifiedRequester, keySerializer: KSerializer<Key>, valueSerializer: KSerializer<Value>, valueNullableSerializer: KSerializer<Value?>) : ReadStandardKeyValueRepo<Key, Value>

Constructors

KtorReadStandardKeyValueRepo
Link copied to clipboard
common
fun <Key, Value> KtorReadStandardKeyValueRepo(baseUrl: String, client: <ERROR CLASS>, keySerializer: KSerializer<Key>, valueSerializer: KSerializer<Value>, valueNullableSerializer: KSerializer<Value?>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat)

Functions

contains
Link copied to clipboard
common
open suspend override fun contains(key: Key): Boolean
count
Link copied to clipboard
common
open suspend override fun count(): Long
get
Link copied to clipboard
common
open suspend override fun get(k: Key): Value?
keys
Link copied to clipboard
common
open suspend override fun keys(pagination: Pagination, reversed: Boolean): PaginationResult<Key>
open suspend override fun keys(v: Value, pagination: Pagination, reversed: Boolean): PaginationResult<Key>
values
Link copied to clipboard
common
open suspend override fun values(pagination: Pagination, reversed: Boolean): PaginationResult<Value>